Release 10.1A: OpenEdge Development:
Progress 4GL Reference
CREATE QUERY statement
Creates a dynamic query.
Syntax
handleA variable of type HANDLE that represents the handle of the query object.
IN WIDGET-POOLwidget-pool-nameAn expression of type CHARACTER that evaluates, at run time, to the name of the widget pool that contains the dynamic query.
Note: Widget pool names are not case-sensitive. ExampleThe following example creates a dynamic query with a static buffer and a dynamic predicate (WHERE clause) which is resolved at run time:
Notes
- CREATE-QUERY must be followed by the QUERY-PREPARE( ) and QUERY-OPEN() methods before the query can be run.
- For more information on dynamic queries, see OpenEdge Development: Progress 4GL Handbook .
See also
CREATE BUFFER statement, DEFINE QUERY statement, QUERY-OPEN( ) method, QUERY-PREPARE( ) method
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |